package com.lh.Service.Impl;

import com.lh.Service.DetailService;
import com.lh.bean.Detail;
import com.lh.dao.DetailDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DetailServiceImpl implements DetailService {
    @Resource
    private DetailDao detailDao;
    public List<Detail> queryDetailList() {

        return detailDao.selectDetailList();

    }

    public List<Detail> queryDetailListByBasicId(String good_name) {

        return detailDao.selectDetailListByBasicId(good_name);

    }

    public List<Detail> queryDetailListByBasicId2(String good_name) {
        return detailDao.selectDetailListByBasicId2(good_name);
    }

    public List<Detail> queryDetailListByBasicId3(String good_name) {
        return detailDao.selectDetailListByBasicId3(good_name);
    }
}
